home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wonky Flux Batch 2019 02
/
Wonky_Flux_Batch_2019-02.zip
/
Wonky Flux Batch 2019-02
/
106 - Proboard KEY Floppy - Must be in Drive 1.dsk
/
STAR.TREK.PRO5
/
STAR.LOGON.S
< prev
next >
Wrap
Text File
|
1989-08-03
|
2KB
|
79 lines
; STAR TREK Conversion by Ken Rogers
; Tested and supported on ProBOARD @ 805-239-4292
; Version 1.5
public start
public resign
public termin
free:kill"h:var":store"h:var":clear:recall"h:var"
k3=0:g5=0:e6=0
Start
on nocar goto termin
dx$="a3:"
xx$=rnd$:z$=" ":pt$="*************************"
tr$=pt$+pt$+pt$+pt$+pt$+pt$+pt$+left$(pt$,17)
for i=10 to 17:nibble(i)=10:next
tr=(random(10)*2+20):xx$=rnd$:d0=100:e=3000:e0=e
xr=(clock(2)-clock(1))/60:xr$=right$("0"+str$(x),2)
p=10:p0=p:s9=200:s=0:b9=0:kt=0:x$="":x0$="is "
q1=random(8):xx$=rnd$
q2=random(8):xx$=rnd$
s1=random(8):xx$=rnd$
s2=random(8):xx$=rnd$
print chr$(12):setint(1):copy dx$+"Star.Com":setint("")
print\\\chr$(32,17)"Please Stand By For Starfleet Orders Captain."
Klingons
for i=0 to 7:for j=1to8:kg=0:r1=random(100):xx$=rnd$
if r1 > 98 kg=3:kt=kt+3:goto bases
if r1 > 95 kg=2:kt=kt+2:goto bases
if r1 > 80 kg=1:kt=kt+1
Bases
b3=0:if random(100)>96 b3=1:b9=b9+1:xx$=rnd$
byte(8*i+j)=kg*100+b3*10+random(8):next:next:if kt>9 t9=kt+1
if b9<>0 goto orders
if byte(8*i+j)<200 byte(8*i+j)=byte(8*i+j)+100:k9=k9+1
b9=1:byte(8*i+j)=byte(8*i+j)+10:q1=random(8):q2=random(8)
Random
q1=random(8):xx$=rnd$
q2=random(8):xx$=rnd$
Orders
k7=kt:ifb9<>1 x$="s":x0$="are "
print \\\"Your orders are as follows:"
print\" Destroy the "kt" Klingon warships which have invaded"
print" the galaxy before they can attack Federation Headquarters"
print" on stardate "tr""xr$". This gives you "xr$" days. There "x0$
print" "b9" starbase"x$" in the galaxy for resupplying your ship."
input @2 \"Hit return to continue";i$
link dx$+"star","enter.quad"
Resign
on nocar goto termin
clear:recall"h:var":gosub rd.user:link "a:main.seg","fromsys"
Termin
clear:recall"h:var":gosub rd.user:link "a:main.seg","term1"
Rd.user
print\"ReReading Users Data..."\
open #1,"b:users"
position #1,128,un
input #1,d1$,d2$\d3$\d4$,d5$
position #1,128,un,70
read #1,ram,58
lc$=mid$(" "+when$,2)
close #1
b=((nibble(5)*10)-byte(7))*60
clock(2)=b:return
; EOF